Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableQuery D

Total Complexity 217
Dependencies 10
Dependents 4
Total lines 1,460
Lines of code 819
Logical lines of code 434
Comment lines 294
Methods 29
Properties 20

Methods 29

Method Rating Maintainability Complexity Lines of code
process_date_args()
C
34 23 87
build_query()
B
37 21 65
get_field_mapping_info()
A
43 13 46
maybe_remap_args()
A
39 10 65
local_time_to_gmt_date_query()
A
42 10 57
sanitize_order_orderby()
A
44 10 45
generate_customer_query()
A
50 11 25
maybe_override_query()
A
55 11 17
where()
A
48 10 31
join()
A
49 10 28
process_orderby()
A
50 8 27
process_date_query_columns()
A
47 7 38
process_limit()
S
60 8 12
map_gmt_and_post_keys_to_hpos_keys()
S
46 6 41
process_orders_table_query_args()
S
47 6 37
get_core_mapping_join()
S
53 7 19
__get()
S
59 7 16
sanitize_status()
S
58 7 14
process_addresses_table_query_args()
S
46 4 40
run_query()
S
59 5 13
date_to_date_query_arg()
S
52 4 24
process_operational_data_table_query_args()
S
52 3 28
build_count_query()
S
61 4 10
__construct()
S
60 3 13
get_core_mapping_alias()
S
72 2 5
sanitize_order()
S
74 2 4
arg_isset()
S
76 2 3
get_table_name()
S
69 2 6
get()
S
79 1 3